package newsDemo.mapper;

import newsDemo.pojo.agree;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface agreeMapper {
    public void add(agree agree);

    public agree get(agree agree);

    public List<agree> getAll(int id);

    public void delete(agree agree);
}
